-- GENERATED SPELL FOR [Salia] --


function spell0_9860(pUnit, Event) --@Cause Insanity,n/a--
pUnit:FullCastSpellOnTarget(12888,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_9860', 6311, 1)
end

function Sorts_9860(pUnit, Event)
local choix_sorts_9860 = math.random(0, 0)
if choix_sorts_9860 == 0 then
pUnit:RegisterEvent('spell0_9860', 1, 1)
end
end

function mob9860_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_9860', math.random(1500, 3000), 1)
end

function mob9860_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9860_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob9860_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(9860, 1, 'mob9860_Action')
RegisterUnitEvent(9860, 2, 'mob9860_Leave')
RegisterUnitEvent(9860, 3, 'mob9860_Kill')
RegisterUnitEvent(9860, 4, 'mob9860_Die')
